/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.startup.musicstore.services;

import com.startup.musicstore.domain.Album;
import com.startup.musicstore.domain.Demographic;
import com.startup.musicstore.domain.Review;
import com.startup.musicstore.domain.Track;
import java.util.List;

/**
 *
 * @author 208176454
 */
public interface AlbumService extends Services<Album , Long>{
    public List<Review> getAlbumRatings(Long id);
    
    public String getRating(int grade);
    public String getTrackUrl(Long albumId, int trackNumber);
    
    public void updateInventory(Long albumId, int quantity);
    
    public void postRating(Long album,Review review) throws Exception;
}
